package com.pm2.dao.meeting;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.pm2.entity.weekMeet.MeetingDetail;

public interface MeetingDetailDao extends JpaRepository<MeetingDetail, Integer> {

	
	@Modifying
	@Transactional
	@Query("delete MeetingDetail where pid= ?1")
	int deleteByPid(int pid);
}
